-- GENERATED SPELL FOR [Ambereye Basilisk] --


function spell0_11785(pUnit, Event) --@Petrify,n/a--
pUnit:FullCastSpellOnTarget(11020,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11785', 8263, 1)
end

function Sorts_11785(pUnit, Event)
local choix_sorts_11785 = math.random(0, 0)
if choix_sorts_11785 == 0 then
pUnit:RegisterEvent('spell0_11785', 1, 1)
end
end

function mob11785_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11785', math.random(1500, 3000), 1)
end

function mob11785_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11785_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11785_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11785, 1, 'mob11785_Action')
RegisterUnitEvent(11785, 2, 'mob11785_Leave')
RegisterUnitEvent(11785, 3, 'mob11785_Kill')
RegisterUnitEvent(11785, 4, 'mob11785_Die')
